package com.rdc.qingkou.contract;

import com.rdc.qingkou.presenter.ipresenter.IBasePresenter;

/**
 * Created by asus on 2017/9/14.
 */

public class RegisterContract {

    public interface View {

        void showRegisted();
        String getAccount();
        String getPassword();
        String getPasswordAgain();
        String getCode();
        void showInputInfo();
        void showPasswordInfo();
        void showPasswordEmptyInfo();
        void setButtonClickable(boolean isclickable);
        void countdown();
        void showJumpToLoginInfo(String result);
        void showRegisteFail(String reason);
        void jumpToLogin();






    }


    public interface PresenterI extends IBasePresenter<View>{

        void checkIsRegisted();
        void checkIsCorrectPhoneNumber();
        void setButtonClickable();
        boolean checkisCorrectInput();
        void getCode();
        void registe(boolean isChangePassword);


    }


}
